<template>
<!-- 进来的首界面 -->
  <div id="mainNon">
    <div class="imglogo">
      <img :src="imgGodz" />
    </div>
    <div class="txtGodz">
      欢迎使用Godz控制平台
      <div class="little">我仿佛听到你在我背后说我帅!</div>
    </div>
    <div class="circle"></div>
    <div class="circle2"></div>
    <div class="circle3"></div>
  </div>
</template>

<script>
export default {
  name: 'mainNon',
  data() {
    return {
      imgGodz: require("@/assets/mainImg/Godz.png"),
    }
  }
}
</script>

<style scoped lang="less">
#mainNon {
  width: 100%;
  .imglogo {
    width: 30%;
    margin: auto;
    img {
      width: 100%;
    }
  }
  .txtGodz {
    width: 50%;
    margin: auto;
    text-align: center;
    font-size: 36px;
    .little {
      font-size: 16px;
      color: #0078ff;
    }
  }
  .circle {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 25px #0078ff;
    animation: circleMax 2s linear infinite;
  }
  .circle2 {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 25px #0078ff;
    animation: circleMax 2s linear infinite;
    animation-delay: 0.5s;
  }
  .circle3 {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 25px #0078ff;
    animation: circleMax 2s linear infinite;
    animation-delay: 1s;
  }
  /* 动画代码 */
  @keyframes circleMax {
    0% {
      top: 30%;
      width: 5%;
      height: 4vw;
      left: 48%;
      opacity: 1;
    }
    33% {
      top: 13%;
      width: 20%;
      height: 17vw;
      left: 40%;
      opacity: 0.66;
    }
    66% {
      top: 3%;
      left: 35%;
      width: 30%;
      height: 25vw;
      opacity: 0.33;
    }
    100% {
      top: -15%;
      left: 25%;
      width: 50%;
      height: 40vw;
      opacity: 0;
    }
  }
}
</style>